package com.lovo.cloud.service;

import com.lovo.cloud.model.dos.MovieDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lovo.cloud.model.dto.MovieOrderDTO;
import com.lovo.cloud.model.dto.OrderDTO;
import com.rabbitmq.client.Channel;
import org.springframework.amqp.support.AmqpHeaders;
import org.springframework.messaging.handler.annotation.Header;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author luo
 * @since 2020-12-04
 */
public interface MovieService extends IService<MovieDO> {

    boolean updateMovie(OrderDTO orderDTO, Channel channel, @Header(AmqpHeaders.DELIVERY_TAG) long tag);

}
